package com.wty.cmims.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;

/**
 * 
 * @TableName prescription
 */
@TableName(value ="prescription")
@Data
public class Prescription implements Serializable {
    /**
     * 处方ID
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 预约ID
     */
    private Integer appointmentId;

    /**
     * 病历ID
     */
    private Integer historyId;

    /**
     * 居民ID
     */
    private Integer residentId;

    /**
     * 医疗机构ID
     */
    private Integer institutionId;

    /**
     * 科室ID
     */
    private Integer departmentId;

    /**
     * 医生ID
     */
    private Integer doctorId;

    /**
     * 药品串
     */
    private String medications;

    /**
     * 开方日期
     */
    private Date makeDate;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}